package com.reebake.ideal.constants;

/**
 * 通用常量
 */
public interface CommonConstants {
    /**
     * 用户编号属性名
     */
    public static final String ATTRIBUTE_NAME_USER_ID = "userId";
    /**
     * 租户编号属性名
     */
    public static final String ATTRIBUTE_NAME_TENANT_ID = "tenantId";
    /**
     * 权限属性名
     */
    public static final String ATTRIBUTE_NAME_AUTHORITIES = "authorities";
    /**
     * 用户编号请求头名
     */
    public static final String HEADER_NAME_USER_ID = "X-USER-ID";
    /**
     * 租户编号请求头名
     */
    public static final String HEADER_NAME_TENANT_ID = "X-TENANT-ID";
}
